<?php
    //comprobamos la sesión
    include ("../logic/comprobarSesion.php");
    noSesion();

    include '../bbdd/planesBbdd.php';
    include '../bbdd/usuariosBbdd.php';
    include '../bbdd/ofertasBbdd.php';
    include '../bbdd/mensajesBbdd.php';
    
    if (!isset($_POST['pid'])) {
        $_POST['pid'] = $_GET['pid'];
    }
    
    if (!isset($_POST['uid'])) {
        $_POST['uid'] = $_GET['uid'];
    }
    
?>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="../css/estilos.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="../css/bootstrap.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="../css/bootstrap-responsive.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="../css/bootstrap-responsive.min.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.csss" media="screen" />
        <title>Gestionar Ofertas</title>
    </head>
    <body>
        <?php
            include '../menus/menuUsuario.php';
            include '../planes/pestanasProyecto.php';
            include 'listadoOfertas.php';
        ?>
    </body>
</html>